/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package music;

import java.awt.Graphics;
import music.types.ClefType;

/**
 *
 * @author TJ
 */
public class RhythmStaff extends Staff{
    private int tone;
    public RhythmStaff(Score s,int tone) {
        super(s);
        this.setDefaultClef(ClefType.PERCUSSION);
    }
    /*public RhythmStaff(int tone) {
        
        this.setDefaultClef(ClefType.PERCUSSION);
    }*/
    public void render(Graphics g,int x){
        int fin=this.renderMeasures(g, x); 
        
        //for(int i=0; i<5; i++) {
            int liney=this.getBottomLine()-2*this.getScore().getSpacing().getLineSpacing();
            g.drawLine(x, liney, fin, liney);
        //}
        
    }
}
